﻿<%@ Page Title="" Language="C#" AutoEventWireup="true" CodeBehind="CouncilUpdate.aspx.cs"
	Inherits="SBACN.WebSite.Admin.AboutGuild.CouncilUpdate" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
	<title><%= ConTitle %></title>
	<script src="../Scripts/common.js" type="text/javascript"></script>
	<link href="../images/style.css" rel="stylesheet" type="text/css" />
	<link href="../images/form.css" rel="stylesheet" type="text/css" />
	<script src="../../js/jquery.js" type="text/javascript"></script>
	<script src="../../My97DatePicker/WdatePicker.js" type="text/javascript"></script>
	<script src="../../xheditor/xheditor-1.1.13-zh-cn.min.js" type="text/javascript"></script>
	<script type="text/javascript">
		$jqy = jQuery.noConflict();
		$jqy(function () {
			$jqy("#<%= Introduce.ClientID %>").xheditor({
				upLinkUrl: "../../Handler/UploadHandler.ashx?tc=00010004", upLinkExt: "zip,rar,txt,xls,pdf",
				upImgUrl: "../../Handler/UploadHandler.ashx?tc=00010004", upImgExt: "jpg,jpeg,gif,png",
				upFlashUrl: "../../Handler/UploadHandler.ashx?tc=00010004", upFlashExt: "swf",
				upMediaUrl: "../../Handler/UploadHandler.ashx?tc=00010004", upMediaExt: "avi"
			});
			$jqy("#<%= EIntroduce.ClientID %>").xheditor({
				upLinkUrl: "../../Handler/UploadHandler.ashx?tc=00010004", upLinkExt: "zip,rar,txt,xls,pdf",
				upImgUrl: "../../Handler/UploadHandler.ashx?tc=00010004", upImgExt: "jpg,jpeg,gif,png",
				upFlashUrl: "../../Handler/UploadHandler.ashx?tc=00010004", upFlashExt: "swf",
				upMediaUrl: "../../Handler/UploadHandler.ashx?tc=00010004", upMediaExt: "avi"
			});
		})
		function Btn_Cancel() {
			location.href = "";
		}
		function Check() {
			var CName = $jqy("#<%=CouncilTitle.ClientID %>").val()
			if (CName == "") {
				alert("请填写标题！");
				return false;
			}
			return true;

		}
		function del_click(id) {
			if (confirm("确定删除吗？")) {
				document.getElementById("<%= Hid_ID.ClientID %>").value = id;
				document.getElementById("<%= Btn_Click.ClientID%>").click();
			 }
		}
	</script>
</head>
<body>
	<form id="form1" runat="server">
	<center>
		<div id="contentDiv">
			<table width="100%" border="0" cellspacing="0" cellpadding="0" class="table-stroke2">
				<tr>
					<td colspan="4" class="form-title2">
						<asp:Label ID="CouncilName" runat="server" Text=""></asp:Label>
					</td>
				</tr>
				<tr>
					<td width="8%" class="form-label-1">
						<span style="color: Red;">*</span>标题：
				</td>
				<td width="42%" class="form-body-1">
					<asp:TextBox ID="CouncilTitle" runat="server" Width="95%"></asp:TextBox>
				</td>
				<td width="8%" class="form-label-1">
					<%--<span style="color: Red;">*</span>--%>英文标题：
				</td>
				<td width="42%" class="form-body-1"> 
					<asp:TextBox ID="ECouncilTitle" runat="server" Width="95%"></asp:TextBox>
				</td>
			</tr>
			<tr>
				<td width="8%" class="form-label-1">
					开始时间：
				</td>
				<td width="42%" class="form-body-1">
					<asp:TextBox ID="StartDate" runat="server" CssClass="Wdate" OnClick="WdatePicker();"></asp:TextBox>
				</td>
				<td width="8%" class="form-label-1">
					结束时间：
				</td>
				<td width="42%" class="form-body-1">
					<asp:TextBox ID="EndDate" runat="server" CssClass="Wdate" OnClick="WdatePicker();"></asp:TextBox>
				</td>
			</tr>
			<tr>
				<td width="8%" class="form-label-1">
					简介：
				</td>
				<td colspan="3" width="42%" class="form-body-1">
					<asp:TextBox ID="Introduce" runat="server" TextMode="MultiLine" Width="98%" Rows="30"></asp:TextBox>
				</td>
			</tr>
			<tr>
				<td width="8%" class="form-label-1">
					英文简介：
				</td>
				<td colspan="3" width="42%" class="form-body-1">
					<asp:TextBox ID="EIntroduce" runat="server" TextMode="MultiLine" Width="98%" Rows="30"></asp:TextBox>
				</td>
			</tr>
			<tr>
				<td width="8%" class="form-label-1">
				会员单位：
				</td>
				<td colspan="3" width="42%" class="form-body-1">
					<div runat="server" id="main_rbox">
					</div>
					<div id="dashed_line">
						<a href="CMRaletionAdd.aspx?st=00010004&id=<%= CID %>" target="_blank">>>新增会员关系</a>
					</div>
				</td>
			</tr>
			<tr>
				<td colspan="4" class="form-body">
					<asp:HiddenField ID="HidCID" runat="server" />
					<asp:Button ID="SubBtn" CssClass="btnsearch" runat="server" Text="确定" OnClientClick="return Check();"
						Style="height: 21px" OnClick="SubBtn_Click" />
					<input name="Cancel " class="btnsearch" id="Cancel" type="button" onclick="window.close();" value="取消" />
				</td>
			</tr>
		</table>
		</div>
		<div style="display:none;">
			<asp:HiddenField runat="server" ID="Hid_ID" />
			<asp:Button runat="server" Text="删除" ID="Btn_Click" OnClick="Del_Click" />
		</div>
	</center>
	</form>
</body>
</html>
